﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ROrganizer.Client
{
    public class HashEntry
    {
        public string File { get; set; }
        public DateTime FileTimestamp { get; set; }
        public HashInfo Info { get; set; }
        public bool IsChanged { get; set; }

        public bool IsHashed()
        {
            return !String.IsNullOrEmpty(this.Info.Hash);
        }

        public bool IsLinked()
        {
            return !String.IsNullOrEmpty(this.Info.Link);
        }
    }
}
